#!/usr/bin/env bash
# From @mpapis

if
  which bundle >/dev/null &&
  [[ -d vendor/cache ]] &&
  [[ -f Gemfile ]]
then
  bundle install --local
fi
